package com.gitee.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.enums.CookbookTypeEnum;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "t_cookbook")
public class Cookbook {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Date eatTime;

    private Date endTime;

    private Integer maxNum;

    private CookbookTypeEnum cookbookType;

    private Date createTime;

    private Date updateTime;

}
